#ifndef INSERTDATADIALOG_H
#define INSERTDATADIALOG_H

#include "ui_insertdatadialog.h"
#include "insertdatawidget.h"

class InsertDataDialog : public QDialog, public Ui::InsertDataDialog
{
Q_OBJECT
public:
	InsertDataDialog( QWidget * parent = 0);
public slots:
	void refresh();
	void submit();
	void connectModel();
private:
	InsertDataWidget *subjectWidget;
	InsertDataWidget *placeWidget;
	InsertDataWidget *teacherWidget;
private slots:
	void on_cancelButton_clicked();
};
#endif
